package test;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component("卡车")

public class Truck implements Car{
    public void drive(){
        System.out.println("驾驶卡车去工作");
    }
}
